package com.scalar.chiptrack.operations.reports.forms;

import com.scalar.chiptrack.utils.StringUtils;
import com.scalar.chiptrack.ChipTrackActionForm;

/**
 * Created by Sudhakar
 */
public class TransitForm  extends ChipTrackActionForm
{
    private String partNumber 	    = null;
    private String lotNumber 	    = null;
    private String poNumber         = null;
    private String soNumber         = null;
    private String invoice          = null;
    private String prevoiusLocation = null;
    private String nextLocation     = null;
    private String shipDate         = null;
    private String shipQty          = null;
    private String mawb             = null;
    private String hawb             = null;
    private String flt              = null;
    private String etd              = null;
    private String eta              = null;
    private String processName      = null;
    private int shippedLotID        = -1;
    private String fabLotNo         = null;

    private int baseProductId       = -1;
    private int processStepId       = -1;
    private String fromDate         = null;
    private String toDate           = null;
    private String vendorName       = null;
    private String processType       = null;

    public String getPartNumber()
    {
        return partNumber;
    }

    public void setPartNumber( String partNumber )
    {
        this.partNumber = partNumber;
    }

    public String getLotNumber()
    {
        return lotNumber;
    }

    public void setLotNumber( String lotNumber )
    {
        this.lotNumber = lotNumber;
    }

    public String getPoNumber()
    {
        return poNumber;
    }

    public void setPoNumber( String poNumber )
    {
        this.poNumber = poNumber;
    }

    public String getSoNumber()
    {
        return soNumber;
    }

    public void setSoNumber( String soNumber )
    {
        this.soNumber = soNumber;
    }

    public String getInvoice()
    {
        return invoice;
    }

    public void setInvoice( String invoice )
    {
        this.invoice = invoice;
    }

    public String getPrevoiusLocation()
    {
        return prevoiusLocation;
    }

    public void setPrevoiusLocation( String prevoiusLocation )
    {
        this.prevoiusLocation = prevoiusLocation;
    }

    public String getNextLocation()
    {
        return nextLocation;
    }

    public void setNextLocation( String nextLocation )
    {
        this.nextLocation = nextLocation;
    }

    public String getShipDate()
    {
        return shipDate;
    }

    public void setShipDate( String shipDate )
    {
        if( shipDate != null)
        {
            shipDate = StringUtils.formatDate(shipDate,"yyyy-MM-dd HH:mm:ss","MM/dd/yyyy");
        }
        this.shipDate = shipDate;
    }

    public String getShipQty()
    {
        return shipQty;
    }

    public void setShipQty( String shipQty )
    {
        this.shipQty = shipQty;
    }

    public String getMawb()
    {
        return mawb;
    }

    public void setMawb( String mawb )
    {
        this.mawb = mawb;
    }

    public String getHawb()
    {
        return hawb;
    }

    public void setHawb( String hawb )
    {
        this.hawb = hawb;
    }

    public String getFlt()
    {
        return flt;
    }

    public void setFlt( String flt )
    {
        this.flt = flt;
    }

    public String getEtd()
    {
        return etd;
    }

    public void setEtd( String etd )
    {
        this.etd = etd;
    }

    public String getEta()
    {
        return eta;
    }

    public void setEta( String eta )
    {
        this.eta = eta;
    }

    public String getProcessName()
    {
        return processName;
    }

    public void setProcessName( String processName )
    {
        this.processName = processName;
    }

    public int getShippedLotID()
    {
        return shippedLotID;
    }

    public void setShippedLotID( int shippedLotID )
    {
        this.shippedLotID = shippedLotID;
    }

    public String getFabLotNo() {
        return fabLotNo;
    }

    public void setFabLotNo(String fabLotNo) {
        this.fabLotNo = fabLotNo;
    }

    public int getBaseProductId() {
        return baseProductId;
    }

    public void setBaseProductId(int baseProductId) {
        this.baseProductId = baseProductId;
    }

    public int getProcessStepId() {
        return processStepId;
    }

    public void setProcessStepId(int processStepId) {
        this.processStepId = processStepId;
    }

    public String getFromDate() {
        return fromDate;
    }

    public void setFromDate(String fromDate) {
        this.fromDate = fromDate;
    }

    public String getToDate() {
        return toDate;
    }

    public void setToDate(String toDate) {
        this.toDate = toDate;
    }


    public String getVendorName() {
        return vendorName;
    }

    public void setVendorName(String vendorName) {
        this.vendorName = vendorName;
    }

    public String getProcessType() {
        return processType;
    }

    public void setProcessType(String processType) {
        this.processType = processType;
    }
}

